<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Bulls and Cows</title>
        <style type="text/css">
                <!--
            body {
                background-color: #E5E5E5;
                background-image: url(http://www.nice-one.com/wallpaper.jpg);
                background-repeat: no-repeat;
                margin-left: 10%;
                margin-top: 10%;
                margin-right: 10%;
            }
            body,td,th {
                font-family: Verdana, Arial, Helvetica, sans-serif;
                color: #333333;
            }
             .style2 {
                color: #FFFFFF;
                font-size: 20px;
            }
            .style3 {
                color: #FFFFFF;
                font-size: 14px;
            }
            .style4 {
                font-size: 24px;
                color: #99CC00;
                font-weight: bold;
            }
            -->
        </style>
    </h:head>
    <h:body>
        <div>
            <div align="center" >
                <p align="center" class="style2 style4"> Bulls and Cows </p>
            </div>
        </div>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <div style="background:#333333">
            <div align="center" class="style3" >
                <p>&nbsp;</p>
                 <p>Welcome to currency converter</p>
                <h:form>
                      <h:selectOneMenu id="selectTo"
                                 value="#{CurrencyConverter.to}">
                    <f:selectItems
                        value="#{CurrencyConverter.curr}" />
                </h:selectOneMenu>
                    <h:selectOneMenu id="selectFrm"
                                 value="#{CurrencyConverter.from}">
                    <f:selectItems
                        value="#{CurrencyConverter.curr}" />
                </h:selectOneMenu>
                    <h:outputText escape="false"  value="#{CurrencyConverter.rate}"/>
                    <h:commandButton id="submit" value="submit" action="webclient" />
                </h:form>
                 
                 


                <p>&nbsp;</p>
            </div>
        </div>
        <p>&nbsp;</p>

        <a href="faces/gameList.xhtml">Back to game</a>

    </h:body>
</html>


